home *** CD-ROM | disk | FTP | other *** search
- function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }
- var §\x01§ = 159 + "\x04\x05"();
- while(true)
- {
- if(eval("\x01") == 351)
- {
- set("\x01",eval("\x01") - 196);
- §§push(true);
- }
- else if(eval("\x01") == 337)
- {
- set("\x01",eval("\x01") + 190);
- §§push(!function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- });
- }
- else if(eval("\x01") == 743)
- {
- set("\x01",eval("\x01") - 33);
- }
- else if(eval("\x01") == 657)
- {
- set("\x01",eval("\x01") - 63);
- §§push("\x0f");
- }
- else if(eval("\x01") == 594)
- {
- set("\x01",eval("\x01") - 257);
- §§push(eval(function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }));
- }
- else if(eval("\x01") == 155)
- {
- set("\x01",eval("\x01") + 787);
- if(function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 928);
- }
- }
- else if(eval("\x01") == 14)
- {
- set("\x01",eval("\x01") + 520);
- }
- else
- {
- if(eval("\x01") == 942)
- {
- set("\x01",eval("\x01") - 928);
- break;
- }
- if(eval("\x01") == 534)
- {
- set("\x01",eval("\x01") + 188);
- §§push(true);
- }
- else if(eval("\x01") == 913)
- {
- set("\x01",eval("\x01") - 379);
- }
- else if(eval("\x01") == 748)
- {
- set("\x01",eval("\x01") - 498);
- §§push(true);
- }
- else if(eval("\x01") == 527)
- {
- set("\x01",eval("\x01") - 433);
- if(function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") + 355);
- }
- }
- else if(eval("\x01") == 722)
- {
- set("\x01",eval("\x01") - 126);
- if(function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 123);
- }
- }
- else if(eval("\x01") == 250)
- {
- set("\x01",eval("\x01") + 314);
- if(function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 209);
- }
- }
- else
- {
- if(eval("\x01") == 596)
- {
- set("\x01",eval("\x01") - 123);
- break;
- }
- if(eval("\x01") == 564)
- {
- set("\x01",eval("\x01") - 209);
- tellTarget({})
- {
- break;
- }
- }
- if(eval("\x01") == 473)
- {
- set("\x01",eval("\x01") + 275);
- }
- else if(eval("\x01") == 824)
- {
- set("\x01",eval("\x01") - 76);
- }
- else if(eval("\x01") == 94)
- {
- set("\x01",eval("\x01") + 355);
- }
- else if(eval("\x01") == 355)
- {
- set("\x01",eval("\x01") + 355);
- }
- else if(eval("\x01") == 710)
- {
- set("\x01",eval("\x01") - 518);
- §§push("\x0f");
- §§push(1);
- }
- else
- {
- if(eval("\x01") != 192)
- {
- if(eval("\x01") == 449)
- {
- set("\x01",eval("\x01") - 176);
- if(!_global.classes)
- {
- _global.classes = new Object();
- }
- function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }
- if(!_global.classes.Ghost)
- {
- classes.Ghost extends classes.Enemy;
- var _loc2_ = classes.Ghost = function()
- {
- super();
- }.prototype;
- _loc2_.init = function(game_ref, x, y, enemyStunnTime)
- {
- super.init(game_ref,x,y,enemyStunnTime);
- this._alpha = 0;
- };
- _loc2_.setMoveIV = function()
- {
- this.move_IV = setInterval(this,"startMove",this.MOVE_TIME * 1000 + Math.floor(Math.random() * 1000));
- this.movingState = "invisible";
- };
- _loc2_.startMove = function()
- {
- this.movingState = "preFlightFadeIn";
- };
- _loc2_.fadeIn = function()
- {
- this._alpha += this.ALPHA_SPEED;
- if(this._alpha > 100)
- {
- this._alpha = 100;
- }
- trace("fadeIn. alpha = " + this._alpha);
- };
- _loc2_.checkIsArrivedToDest = function()
- {
- trace("checking if arrived to Dest");
- if(Math.round(this._x) == this.destPoint.x && Math.round(this._y) == this.destPoint.y)
- {
- trace(" arrivedToDest");
- this.movingState = "postFlightFadeOut";
- }
- };
- _loc2_.fadeOut = function()
- {
- trace("fadeOut. alpha = " + this._alpha);
- this._alpha -= this.ALPHA_SPEED;
- if(this._alpha < 0)
- {
- this._alpha = 0;
- }
- };
- _loc2_.onEnterFrame = function()
- {
- super.onEnterFrame();
- var _loc3_ = false;
- if(this.state == "openMouth")
- {
- this.fadeIn();
- _loc3_ = true;
- }
- else if(this.state == "closeMouth")
- {
- this.fadeOut();
- _loc3_ = true;
- }
- else if(this.state == "stunned")
- {
- this._alpha = 100;
- _loc3_ = true;
- }
- if(!_loc3_)
- {
- switch(this.movingState)
- {
- case "invisible":
- break;
- case "preFlightFadeIn":
- if(!_loc3_)
- {
- this.fadeIn();
- }
- if(this._alpha >= 100)
- {
- this.move();
- this.movingState = "flight";
- }
- break;
- case "flight":
- this.checkIsArrivedToDest();
- break;
- case "postFlightFadeOut":
- if(!_loc3_)
- {
- this.fadeOut();
- }
- if(this._alpha <= 0)
- {
- this.movingState = "invisible";
- }
- }
- }
- };
- _loc2_.ALPHA_SPEED = 20;
- §§push(ASSetPropFlags(classes.Ghost.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 273)
- {
- set("\x01",eval("\x01") - 273);
- }
- break;
- }
- set("\x01",eval("\x01") + 465);
- var §§pop() = function §\x04\x05§()
- {
- set("\x03",192 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- };
- }
- }
- }
- }
-